package com.xnew.calendar.mapper;

import com.xnew.bean.common.WorkCalendarInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version V1.0
 * @ClassName: WorkCalendarInfoMapper
 * @Description: 日期操作类
 * @author: yangcd
 * @date:2020/12/30 10:23
 */
@Mapper
public interface WorkCalendarInfoMapper {

    List<WorkCalendarInfo> queryWorkCalendarList(@Param("yearNo") String yearNo) throws Exception;

    void batchSaveWorkCalendar(List<WorkCalendarInfo> list) throws Exception;

    void deleteWorkCalendarInfo(@Param("yearNo") String yearNo) throws Exception;

    List<String> getWorkCalendarInfo(@Param("currentDate") String currentDate) throws Exception;
}
